//
//  ViewController.m
//  SplitStoryBoard
//
//  Created by Cluy on 14/11/7.
//  Copyright (c) 2014年 sunflows. All rights reserved.
//

#import "ViewController.h"
#import "SecondViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    self.view.backgroundColor = [UIColor greenColor];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    NSLog(@"VC = %@",segue.destinationViewController);
    SecondViewController *secondVC = (SecondViewController*)segue.destinationViewController;

    secondVC.titleStr = @"Weclome Second View ^^!";
    
}

@end
